home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / misc / ini_library / examples / example.ini next >
INI File  |  1999-11-30  |  3KB  |  78 lines

  1. /* This is an example INI file of the ini.library which
  2.    shows how the INI configuration files can be used. It supports
  3.    multiple accesses. This file is always created if it can't be
  4.    accessed for any reason (usually when it doesn't exists) */
  5.  
  6.   [Screen1]           ; Up to 9 screens are allowed.
  7.   LeftEdge = 0        ; Left edge of screen.
  8.   TopEdge = 0         ; Top edge of screen.
  9.   Width = 640         ; Width of screen.
  10.   Height = 256        ; Height of screen.
  11.   Depth = 4           ; Use 2^Depth colors.
  12.   ViewMode = 0x8000   ; Screen view mode (lores, hires, etc.)
  13.   Title = Example INI Test Screen © 1999 by Basty/Seasons  ; Default title
  14.   ColorTable = 0x000, 0xFFF, 0x777, 0xCCC,  ; Color table entries.
  15.                0x444, 0x555, 0x666, 0x888,  ; There are 2^Depth entries
  16.                0x111, 0x222, 0xAAA, 0x333,  ; required. Further entries
  17.                0x999, 0xDDD, 0xEEE, 0xBBB,  ; will be ignored.
  18.  
  19. * Now we configure the windows to be opened. Please note that the windows
  20. * are assigned using the 'Screen' context item.
  21.  
  22.   [Window1]
  23.   LeftEdge = 0        ; Left edge of window.
  24.   TopEdge = 0         ; Top edge of window.
  25.   Width = 640         ; Width of window.
  26.   Height = 256         ; Height of window.
  27.   IDCMP = 0x00020000  ; IDCMP flags of window.
  28.   Flags = 0x0000100F  ; Default window flags.
  29.   Title = Example INI Test Window © 1999 by Basty/Seasons  ; Default title
  30.   Screen = 1          ; Screen to open window on. 0 is workbench screen
  31.   MinWidth = 32
  32.   MinHeight = 32
  33.   MaxWidth = 640
  34.   MaxHeight = 256
  35.  
  36.   [Window2]
  37.   LeftEdge = 0        ; Left edge of window.
  38.   TopEdge = 16        ; Top edge of window.
  39.   Width = 640         ; Width of window.
  40.   Height = 64         ; Height of window.
  41.   IDCMP = 0x00020000  ; IDCMP flags of window.
  42.   Flags = 0x0000100F  ; Default window flags.
  43.   Title = Small window #2  ; Default title
  44.   Screen = 1          ; Screen to open window on. 0 is workbench screen
  45.   MinWidth = 32
  46.   MinHeight = 32
  47.   MaxWidth = 640
  48.   MaxHeight = 64
  49.  
  50.   [Window3]
  51.   LeftEdge = 0        ; Left edge of window.
  52.   TopEdge = 80        ; Top edge of window.
  53.   Width = 640         ; Width of window.
  54.   Height = 64         ; Height of window.
  55.   IDCMP = 0x00020000  ; IDCMP flags of window.
  56.   Flags = 0x0000100F  ; Default window flags.
  57.   Title = Small window #3  ; Default title
  58.   Screen = 1          ; Screen to open window on. 0 is workbench screen
  59.   MinWidth = 32
  60.   MinHeight = 32
  61.   MaxWidth = 640
  62.   MaxHeight = 64
  63.  
  64.   [Window4]
  65.   LeftEdge = 0        ; Left edge of window.
  66.   TopEdge = 144       ; Top edge of window.
  67.   Width = 640         ; Width of window.
  68.   Height = 64         ; Height of window.
  69.   IDCMP = 0x00020000  ; IDCMP flags of window.
  70.   Flags = 0x0000100F  ; Default window flags.
  71.   Title = Small window #4  ; Default title
  72.   Screen = 1          ; Screen to open window on. 0 is workbench screen
  73.   MinWidth = 32
  74.   MinHeight = 32
  75.   MaxWidth = 640
  76.   MaxHeight = 64
  77.  
  78.